Fix a few documentation warnings
authorTimm Bäder <mail@baedert.org>
Thu, 5 Jul 2018 19:01:44 +0000 (21:01 +0200)
committerTimm Bäder <mail@baedert.org>
Sun, 8 Jul 2018 07:41:15 +0000 (09:41 +0200)
gtk/gtkmediastream.c
gtk/gtknativedialog.c
gtk/gtkpicture.c
gtk/gtkrender.c
gtk/gtkscrolledwindow.c

index 569b4b9ce310457b1b3cc300724fec998846de70..86f5c72cc599f9a0819489888a9587ce1a3ff4df 100644 (file)
@@ -651,7 +651,7 @@ gtk_media_stream_get_timestamp (GtkMediaStream *self)
 
 /**
  * gtk_media_stream_get_duration:
- * @self: a #GtkmediaStream
+ * @self: a #GtkMediaStream
  *
  * Gets the duration of the stream. If the duration is not known,
  * 0 will be returned.
index 931e2a0c90684d32481ec8676a80088dcf8e3acd..ffe783c99f34ad2d034bb8858f0d71f9746f8e31 100644 (file)
@@ -575,7 +575,7 @@ run_response_cb (GtkNativeDialog *self,
  * modal dialog (it prevents the user from interacting with other
  * windows in the same window group while the dialog is run), callbacks
  * such as timeouts, IO channel watches, DND drops, etc, will
- * be triggered during a gtk_nautilus_dialog_run() call.
+ * be triggered during a gtk_native_dialog_run() call.
  *
  * Returns: response ID
  **/
index a33f365c1cdcec1c41c638cbf119421cd61695ed..887ac7acf95224e8e63c0ab2d4cb170838fbfc98 100644 (file)
  * “broken image” icon similar to that used in many web browsers.
  * If you want to handle errors in loading the file yourself,
  * for example by displaying an error message, then load the image with
- * gdk_texture_new_for_file(), then create the #GtkPicture with
+ * gdk_texture_new_from_file(), then create the #GtkPicture with
  * gtk_picture_new_for_paintable().
  *
  * Sometimes an application will want to avoid depending on external data
  * files, such as image files. See the documentation of #GResource for details.
- * In this case, the #GtkPicture:resource property, gtk_picture_new_for_resource() and
- * gtk_picture_set_resource() should be used.
+ * In this case, gtk_picture_new_for_resource() and gtk_picture_set_resource()
+ * should be used.
  *
  * # CSS nodes
  *
index 9f6ce29750bbf44f7f3117d4d279bc269bbf69f9..12c0fa2775f512d2f17da37b59db97fb6e018d1d 100644 (file)
@@ -766,7 +766,7 @@ gtk_do_render_handle (GtkStyleContext *context,
  * @width: rectangle width
  * @height: rectangle height
  *
- * Renders a handle (as in #GtkHandleBox, #GtkPaned and
+ * Renders a handle (as in #GtkPaned and
  * #GtkWindow’s resize grip), in the rectangle
  * determined by @x, @y, @width, @height.
  *
index e46e8dc5d4273c931cf9ed334a2e1432e8885519..4c502846ae0780905f195875721eeec95611736c 100644 (file)
@@ -96,7 +96,8 @@
  *                       gtk_bin_get_child (GTK_BIN (scrolled_window)));
  * ]|
  *
- * Unless #GtkScrolledWindow:policy is GTK_POLICY_NEVER or GTK_POLICY_EXTERNAL,
+ * Unless #GtkScrolledWindow:hscrolbar-policy and #GtkScrolledWindow:vscrollbar-policy
+ * are GTK_POLICY_NEVER or GTK_POLICY_EXTERNAL,
  * GtkScrolledWindow adds internal #GtkScrollbar widgets around its child. The
  * scroll position of the child, and if applicable the scrollbars, is controlled
  * by the #GtkScrolledWindow:hadjustment and #GtkScrolledWindow:vadjustment